import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Dialogs 1.3
import QtQuick.Controls 2.5
import QtQuick.Layouts 1.14
import Qt.labs.platform 1.1



Window {
    visible: true
    width: 1000
    height: 700
    title: qsTr("Hello World")


    Label{
        id:labelz
        x:50
        y:25
        text: "文件发送"
        font.pixelSize: 22
    }
    Loader {
        id:loader1
        x:50
        y:50
        source: "/FileButton.qml"
        onLoaded: {
            console.log("111")
        }
    }
    Loader{
        id:loader2
        x:500
        y:50
        source: "/tcpconnect.qml"
        onLoaded: {
            console.log("222")
        }
    }

    Loader {
        id:loader3
        x: 650
        y: 350
        source: "/filesave.qml"
        onLoaded: {
            console.log("333 "+x)
        }
    }
    Loader {
        id:loader4
        x :50
        y:400
        source: "/FileSend.qml"
        onLoaded: {
            console.log("444")
        }
    }


}
